package com.st.mall.order.model;


import java.sql.Timestamp;

import com.st.mall.util.model.PagerModel;


public class OrderInfoModel extends PagerModel{
	
	private String code;
	private String custCode;
	private Timestamp date;
	private String addrCode;
	private String addrName;
	private double total;
	private int status;	// 0 - 未付款，1 - 已付款
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public String getAddrName() {
		return addrName;
	}
	public void setAddrName(String addrName) {
		this.addrName = addrName;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getCustCode() {
		return custCode;
	}
	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}
	public Timestamp getDate() {
		return date;
	}
	public void setDate(Timestamp date) {
		this.date = date;
	}
	public String getAddrCode() {
		return addrCode;
	}
	public void setAddrCode(String addrCode) {
		this.addrCode = addrCode;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "OrderInfoModel [code=" + code + ", custCode=" + custCode + ", date=" + date + ", addrCode=" + addrCode
				+ ", addrName=" + addrName + ", status=" + status + "]";
	}
	
}
